package cn.sh.yhk.configure.activemq;

/**
 * Created with IDEA
 * author:Yhk
 * Date:2019/2/22
 * Time:2:57 PM
 */
//@Configuration
public class activemqConfig {
//    @Value("${spring.activemq.broker-url}")
//    private String brokerUrl;
//
//    @Bean
//    public ActiveMQConnectionFactory activeMQConnectionFactory() {
//        ActiveMQConnectionFactory activeMQConnectionFactory = new ActiveMQConnectionFactory();
//        activeMQConnectionFactory.setBrokerURL(brokerUrl);
//
//        return activeMQConnectionFactory;
//    }
//
//    @Bean
//    public CachingConnectionFactory cachingConnectionFactory() {
//        return new CachingConnectionFactory(activeMQConnectionFactory());
//    }
//
//    @Bean
//    public JmsTemplate jmsTemplate() {
//        return new JmsTemplate(cachingConnectionFactory());
//    }
//
//    @Bean
//    public activemqConfig sender() {
//        return new activemqConfig();
//    }
}
